package test;

import org.springframework.stereotype.Component;

/**
 * 公交车
 */
@Component("公交")
public class Bus implements Car{
    @Override
    public void drive() {
        System.out.println("公交车在行驶");
    }
}
